<h1>Registro encontrado</h1>    
<table>
  <thead>
    <!--<tr>
      <th>Id</th>
      <th>Nombre</th>
      <th>Descripcion</th>
    </tr> -->
    <?php if (count($becas) === 0):?>
       <td><h1>NO HAY NINGUN REGISTRO ASOCIADO</h1></td>
    <?php else:?>
    <tr>   
    <?php foreach ($lista as $lis): ?>
      <th><?php echo $lis ?></th>
    <?php endforeach; ?>   
    </tr>
</thead> 
<tbody>
    <?php foreach ($becas as $beca): ?>
    <tr>
      <td><a href="<?php echo url_for('becas/show?id='.$beca[0]) ?>"><?php echo $beca[0] ?></a></td>
      <td><a id="nombre_beca" href="<?php echo url_for('becas/show?id='.$beca[0]) ?>"><?php echo $beca[2] ?></a></td>      
      <td><?php echo $beca[3] ?></td>
    </tr>
    <?php endforeach; ?>
    <?php endif; ?>
  </tbody>
</table>